package com.leyou.user.api;

import com.leyou.user.pojo.User;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author huangxin
 * @date 2019/5/11-21:20
 */

public interface UserApi {
    @GetMapping("query")
    public User queryByUsernameAndPassword(@RequestParam("username") String username, @RequestParam("password")String password);
}
